wpie\import\Downloader\File_Header B

Total Complexity 98
Dependencies 1
Dependents 1
Total lines 307
Lines of code 210
Logical lines of code 151
Comment lines 3
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
generate_filename()
C
40 25 53
get_filename_from_content_disposition()
A
50 17 28
get_file_ext()
A
52 16 21
get_headers()
A
48 10 32
get_image_ext()
A
54 9 21
rtrim_str()
S
62 5 11
is_valid_file()
S
65 5 8
get_headers_by_wp_request()
S
63 3 10
search_ext_from_data()
S
64 3 10
get_filename()
S
70 2 7
__destruct()
S
73 2 5
__construct()
S
77 1 4